package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.medical.enums.ServiceTermsEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 法务条款表对象 service_terms
 *
 * @author ym
 * @date 2020-09-23
 */
@ApiModel(value = "法务条款表-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ServiceTermsQueryParam {

    @ApiModelProperty("标识号")
    private String termsCode;

    @ApiModelProperty("条款名称")
    @CustomConstraint(ServiceTermsEnum.class)
    private String termsName;

    @ApiModelProperty("条款内容")
    private String temsContentUrl;

    @ApiModelProperty("状态")
    private String state;

    @ApiModelProperty("ids")
    private Long[] ids;
}
